#include "game.h"
#include "ui_game.h"
#include "my_qlabel.h"
#include "Hand.h"
#include "Card.h"
#include "Player.h"

#include <iostream>
#include <string>
#include <QTime>
#include <QGlobal.h>
game::game(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::game)
{
    ui->setupUi(this);
    ui->pushButton->hide();
    connect(ui->lblsouth_1, SIGNAL(Mouse_Pressed()), this, SLOT(South_1_Pressed()));
    connect(ui->lblsouth_2, SIGNAL(Mouse_Pressed()), this, SLOT(South_2_Pressed()));
    connect(ui->lblsouth_3, SIGNAL(Mouse_Pressed()), this, SLOT(South_3_Pressed()));
    connect(ui->lblsouth_4, SIGNAL(Mouse_Pressed()), this, SLOT(South_4_Pressed()));
    connect(ui->lblsouth_5, SIGNAL(Mouse_Pressed()), this, SLOT(South_5_Pressed()));
    connect(ui->lblsouth_6, SIGNAL(Mouse_Pressed()), this, SLOT(South_6_Pressed()));
    connect(ui->lblsouth_7, SIGNAL(Mouse_Pressed()), this, SLOT(South_7_Pressed()));
    connect(ui->lblsouth_8, SIGNAL(Mouse_Pressed()), this, SLOT(South_8_Pressed()));
    connect(ui->lblsouth_9, SIGNAL(Mouse_Pressed()), this, SLOT(South_9_Pressed()));
    connect(ui->lblsouth_10, SIGNAL(Mouse_Pressed()), this, SLOT(South_10_Pressed()));
    connect(ui->lblsouth_11, SIGNAL(Mouse_Pressed()), this, SLOT(South_11_Pressed()));
    connect(ui->lblsouth_12, SIGNAL(Mouse_Pressed()), this, SLOT(South_12_Pressed()));
    connect(ui->lblsouth_13, SIGNAL(Mouse_Pressed()), this, SLOT(South_13_Pressed()));

    //server=ser;
   // GM=NULL;
    s=false;
    b=new bid();
    b->hide();
     QObject::connect(b,SIGNAL(bidmade(QStringList)),this,SLOT(changebid(QStringList)));

    //GM->bidding();

    //Client *client = new Client("Test user", this, "0.0.0.0");
    ui->frameScore->hide();
    QString weab="We above";
    QString webl="We below";
    QString theab="they above";
    QString thebl="they below";
    ui->wab->addItem(weab);
    ui->web->addItem(webl);
    ui->theya->addItem(theab);
    ui->theb->addItem(thebl);


}

game::~game()
{
    delete ui;
}

void game::set_score(QString wea, QString web,QString thea , QString theb)
{
    ui->wab->addItem(wea);
    ui->web->addItem(web);
    ui->theya->addItem(thea);
    ui->theb->addItem(theb);
}
//show
void game::showPlayerList(QStringList d)
{
    ui->lstPlayers->clear();
    ui->lstPlayers->addItem(d.at(0));
    ui->lstPlayers->addItem(d.at(1));
    ui->lstPlayers->addItem(d.at(2));
    ui->lstPlayers->addItem(d.at(3));
}

void game::changeNorthHand(Hand *h)
{
    ui->lblnorth_1->setPixmap(QPixmap(""));
    ui->lblnorth_2->setPixmap(QPixmap(""));
    ui->lblnorth_3->setPixmap(QPixmap(""));
    ui->lblnorth_4->setPixmap(QPixmap(""));
    ui->lblnorth_5->setPixmap(QPixmap(""));
    ui->lblnorth_6->setPixmap(QPixmap(""));
    ui->lblnorth_7->setPixmap(QPixmap(""));
    ui->lblnorth_8->setPixmap(QPixmap(""));
    ui->lblnorth_9->setPixmap(QPixmap(""));
    ui->lblnorth_10->setPixmap(QPixmap(""));
    ui->lblnorth_11->setPixmap(QPixmap(""));
    ui->lblnorth_12->setPixmap(QPixmap(""));
    ui->lblnorth_13->setPixmap(QPixmap(""));

    dummy_hand.cards.clear();

    for( int i=0; i<h->getHandSize(); i++)
        dummy_hand.addCard(*h->getCard(i));

    for (int K = 0; K < h->getHandSize(); K++)
    {
        Card *c = h->getCard(K);
        if (c->suit == 'H' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
        }
    }
}

void game::changeEastHand(Hand *h)
{
    ui->lbleast_1->setPixmap(QPixmap(""));
    ui->lbleast_2->setPixmap(QPixmap(""));
    ui->lbleast_3->setPixmap(QPixmap(""));
    ui->lbleast_4->setPixmap(QPixmap(""));
    ui->lbleast_5->setPixmap(QPixmap(""));
    ui->lbleast_6->setPixmap(QPixmap(""));
    ui->lbleast_7->setPixmap(QPixmap(""));
    ui->lbleast_8->setPixmap(QPixmap(""));
    ui->lbleast_9->setPixmap(QPixmap(""));
    ui->lbleast_10->setPixmap(QPixmap(""));
    ui->lbleast_11->setPixmap(QPixmap(""));
    ui->lbleast_12->setPixmap(QPixmap(""));
    ui->lbleast_13->setPixmap(QPixmap(""));

    dummy_hand.cards.clear();

    for( int i=0; i<h->getHandSize(); i++)
        dummy_hand.addCard(*h->getCard(i));

    for (int K = 0; K < h->getHandSize(); K++)
    {
        Card *c = h->getCard(K);
        if (c->suit == 'H' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lbleast_1->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lbleast_2->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lbleast_3->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lbleast_4->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lbleast_5->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lbleast_6->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lbleast_7->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lbleast_8->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lbleast_9->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lbleast_10->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lbleast_11->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lbleast_12->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lbleast_13->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
        }
    }
}

void game::changeSouthHand(Hand *h)
{
    ui->lblsouth_1->setPixmap(QPixmap(""));
    ui->lblsouth_2->setPixmap(QPixmap(""));
    ui->lblsouth_3->setPixmap(QPixmap(""));
    ui->lblsouth_4->setPixmap(QPixmap(""));
    ui->lblsouth_5->setPixmap(QPixmap(""));
    ui->lblsouth_6->setPixmap(QPixmap(""));
    ui->lblsouth_7->setPixmap(QPixmap(""));
    ui->lblsouth_8->setPixmap(QPixmap(""));
    ui->lblsouth_9->setPixmap(QPixmap(""));
    ui->lblsouth_10->setPixmap(QPixmap(""));
    ui->lblsouth_11->setPixmap(QPixmap(""));
    ui->lblsouth_12->setPixmap(QPixmap(""));
    ui->lblsouth_13->setPixmap(QPixmap(""));

    qDebug()<<"Start gui changeSouthHand";
    south = h;
    for (int K = 0; K < h->getHandSize(); K++)
    {
        Card *c = h->getCard(K);
        if (c->suit == 'H' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
        }
    }
//    if(GM!=NULL)
//    {
//        GM->ack_sendHand();
//    }
//    else
//        CM->sendAcknowledge(1,0);

    qDebug()<<"end gui set hand";
}

void game::changeWestHand(Hand *h)
{
    ui->lblwest_1->setPixmap(QPixmap(""));
    ui->lblwest_2->setPixmap(QPixmap(""));
    ui->lblwest_3->setPixmap(QPixmap(""));
    ui->lblwest_4->setPixmap(QPixmap(""));
    ui->lblwest_5->setPixmap(QPixmap(""));
    ui->lblwest_6->setPixmap(QPixmap(""));
    ui->lblwest_7->setPixmap(QPixmap(""));
    ui->lblwest_8->setPixmap(QPixmap(""));
    ui->lblwest_9->setPixmap(QPixmap(""));
    ui->lblwest_10->setPixmap(QPixmap(""));
    ui->lblwest_11->setPixmap(QPixmap(""));
    ui->lblwest_12->setPixmap(QPixmap(""));
    ui->lblwest_13->setPixmap(QPixmap(""));

    dummy_hand.cards.clear();

    for( int i=0; i<h->getHandSize(); i++)
        dummy_hand.addCard(*h->getCard(i));

    for (int K = 0; K < h->getHandSize(); K++)
    {
        Card *c = h->getCard(K);
        if (c->suit == 'H' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));
            }
        }
        else if (c->suit == 'H' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));
            }
        }
        else if (c->suit == 'C' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));
            }
        }
        else if (c->suit == 'S' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0A")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "02")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "03")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "04")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "05")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "06")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "07")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "08")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "09")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "10")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0J")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0Q")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));
            }
        }
        else if (c->suit == 'D' && c->num == "0K")
        {
            if (K == 0)
            {
                ui->lblwest_1->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 1)
            {
                ui->lblwest_2->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 2)
            {
                ui->lblwest_3->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 3)
            {
                ui->lblwest_4->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 4)
            {
                ui->lblwest_5->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 5)
            {
                ui->lblwest_6->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 6)
            {
                ui->lblwest_7->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 7)
            {
                ui->lblwest_8->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 8)
            {
                ui->lblwest_9->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 9)
            {
                ui->lblwest_10->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 10)
            {
                ui->lblwest_11->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 11)
            {
                ui->lblwest_12->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
            if (K == 12)
            {
                ui->lblwest_13->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));
            }
        }
    }
}

void game::changeNorthPicture(Card *c)
{
    if (c->suit == 'H' && c->num == "0A"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "02"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "03"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "04"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "05"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "06"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "07"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "08"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "09"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "10"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0J"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0Q"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0K"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));}
    else if (c->suit == 'S' && c->num == "0A"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "02"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "03"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "04"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "05"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "06"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "07"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "08"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "09"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "10"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0J"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0Q"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0K"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));}
    else if (c->suit == 'D' && c->num == "0A"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "02"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "03"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "04"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "05"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "06"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "07"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "08"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "09"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "10"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0J"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0Q"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0K"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));}
    else if (c->suit == 'C' && c->num == "0A"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "02"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "03"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "04"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "05"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "06"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "07"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "08"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "09"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "10"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0J"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0Q"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0K"){ ui->lblTableNorth->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));}
}

void game::changeWestPicture(Card *c)
{
    if (c->suit == 'H' && c->num == "0A"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "02"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "03"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "04"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "05"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "06"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "07"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "08"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "09"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "10"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0J"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0Q"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0K"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));}
    else if (c->suit == 'S' && c->num == "0A"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "02"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "03"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "04"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "05"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "06"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "07"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "08"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "09"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "10"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0J"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0Q"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0K"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));}
    else if (c->suit == 'D' && c->num == "0A"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "02"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "03"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "04"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "05"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "06"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "07"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "08"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "09"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "10"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0J"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0Q"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0K"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));}
    else if (c->suit == 'C' && c->num == "0A"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "02"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "03"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "04"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "05"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "06"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "07"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "08"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "09"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "10"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0J"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0Q"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0K"){ ui->lblTableWest->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));}
}

void game::changeEastPicture(Card *c)
{
    if (c->suit == 'H' && c->num == "0A"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "02"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "03"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "04"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "05"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "06"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "07"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "08"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "09"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "10"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0J"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0Q"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0K"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));}
    else if (c->suit == 'S' && c->num == "0A"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "02"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "03"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "04"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "05"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "06"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "07"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "08"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "09"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "10"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0J"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0Q"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0K"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));}
    else if (c->suit == 'D' && c->num == "0A"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "02"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "03"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "04"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "05"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "06"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "07"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "08"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "09"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "10"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0J"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0Q"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0K"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));}
    else if (c->suit == 'C' && c->num == "0A"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "02"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "03"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "04"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "05"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "06"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "07"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "08"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "09"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "10"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0J"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0Q"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0K"){ ui->lblTableEast->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));}
}

void game::changeSouthPicture(Card *c)
{
    if (c->suit == 'H' && c->num == "0A"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/1_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "02"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/2_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "03"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/3_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "04"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/4_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "05"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/5_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "06"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/6_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "07"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/7_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "08"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/8_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "09"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/9_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "10"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/10_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0J"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/jack_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0Q"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/queen_hearts.JPG"));}
    else if (c->suit == 'H' && c->num == "0K"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/hearts/king_hearts.JPG"));}
    else if (c->suit == 'S' && c->num == "0A"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/1_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "02"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/2_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "03"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/3_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "04"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/4_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "05"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/5_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "06"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/6_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "07"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/7_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "08"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/8_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "09"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/9_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "10"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/10_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0J"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/jack_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0Q"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/queen_spades.JPG"));}
    else if (c->suit == 'S' && c->num == "0K"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/spades/king_spades.JPG"));}
    else if (c->suit == 'D' && c->num == "0A"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/1_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "02"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/2_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "03"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/3_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "04"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/4_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "05"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/5_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "06"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/6_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "07"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/7_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "08"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/8_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "09"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/9_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "10"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/10_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0J"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/jack_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0Q"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/queen_diamonds.JPG"));}
    else if (c->suit == 'D' && c->num == "0K"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/diamonds/king_diamonds.JPG"));}
    else if (c->suit == 'C' && c->num == "0A"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/1_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "02"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/2_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "03"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/3_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "04"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/4_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "05"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/5_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "06"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/6_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "07"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/7_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "08"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/8_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "09"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/9_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "10"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/10_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0J"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/jack_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0Q"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/queen_clubs.JPG"));}
    else if (c->suit == 'C' && c->num == "0K"){ ui->lblTableSouth->setPixmap(QPixmap("../epe pictures/clubs/king_clubs.JPG"));}
}

void game::setDummy(int d)
{
    dummy = d;
    connect_dummy(dummy);
}

void game::Enable(bool d)
{
    if (d == false)
    {
        ui->lblsouth_1->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_2->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_3->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_4->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_5->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_6->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_7->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_8->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_9->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_10->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_11->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_12->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblsouth_13->setAttribute(Qt::WA_TransparentForMouseEvents,false);
    }
    else if (d == true)
    {
        ui->lblnorth_2->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_3->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_4->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_5->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_6->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_7->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_8->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_9->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_10->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_11->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_12->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_13->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblnorth_1->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_1->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_2->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_3->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_4->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_5->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_6->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_7->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_8->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_9->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_10->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_11->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_12->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lblwest_13->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_1->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_2->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_3->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_4->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_5->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_6->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_7->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_8->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_9->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_10->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_11->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_12->setAttribute(Qt::WA_TransparentForMouseEvents,false);
        ui->lbleast_13->setAttribute(Qt::WA_TransparentForMouseEvents,false);
    }
}

void game::Disable()
{
    ui->lblsouth_1->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_1->setAttribute(Qt::WA_TransparentForMouseEvents,true);       //new!!!!!
    ui->lblsouth_2->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_3->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_4->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_5->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_6->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_7->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_8->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_9->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_10->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_11->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_12->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblsouth_13->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_2->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_3->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_4->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_5->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_6->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_7->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_8->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_9->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_10->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_11->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_12->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_13->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblnorth_1->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_1->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_2->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_3->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_4->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_5->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_6->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_7->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_8->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_9->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_10->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_11->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_12->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lblwest_13->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_1->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_2->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_3->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_4->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_5->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_6->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_7->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_8->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_9->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_10->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_11->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_12->setAttribute(Qt::WA_TransparentForMouseEvents,true);
    ui->lbleast_13->setAttribute(Qt::WA_TransparentForMouseEvents,true);
}

void game::connect_dummy(int p)
{
    if (p == 0)
    {
        qDebug()<< "north is dummy";
        connect(ui->lblnorth_1, SIGNAL(Mouse_Pressed()), this, SLOT(North_1_Pressed()));
        connect(ui->lblnorth_2, SIGNAL(Mouse_Pressed()), this, SLOT(North_2_Pressed()));
        connect(ui->lblnorth_3, SIGNAL(Mouse_Pressed()), this, SLOT(North_3_Pressed()));
        connect(ui->lblnorth_4, SIGNAL(Mouse_Pressed()), this, SLOT(North_4_Pressed()));
        connect(ui->lblnorth_5, SIGNAL(Mouse_Pressed()), this, SLOT(North_5_Pressed()));
        connect(ui->lblnorth_6, SIGNAL(Mouse_Pressed()), this, SLOT(North_6_Pressed()));
        connect(ui->lblnorth_7, SIGNAL(Mouse_Pressed()), this, SLOT(North_7_Pressed()));
        connect(ui->lblnorth_8, SIGNAL(Mouse_Pressed()), this, SLOT(North_8_Pressed()));
        connect(ui->lblnorth_9, SIGNAL(Mouse_Pressed()), this, SLOT(North_9_Pressed()));
        connect(ui->lblnorth_10, SIGNAL(Mouse_Pressed()), this, SLOT(North_10_Pressed()));
        connect(ui->lblnorth_11, SIGNAL(Mouse_Pressed()), this, SLOT(North_11_Pressed()));
        connect(ui->lblnorth_12, SIGNAL(Mouse_Pressed()), this, SLOT(North_12_Pressed()));
        connect(ui->lblnorth_13, SIGNAL(Mouse_Pressed()), this, SLOT(North_13_Pressed()));
    }
    else if (p == 1)
    {
        qDebug()<< "east is dummy";
        connect(ui->lbleast_1, SIGNAL(Mouse_Pressed()), this, SLOT(East_1_Pressed()));
        connect(ui->lbleast_2, SIGNAL(Mouse_Pressed()), this, SLOT(East_2_Pressed()));
        connect(ui->lbleast_3, SIGNAL(Mouse_Pressed()), this, SLOT(East_3_Pressed()));
        connect(ui->lbleast_4, SIGNAL(Mouse_Pressed()), this, SLOT(East_4_Pressed()));
        connect(ui->lbleast_5, SIGNAL(Mouse_Pressed()), this, SLOT(East_5_Pressed()));
        connect(ui->lbleast_6, SIGNAL(Mouse_Pressed()), this, SLOT(East_6_Pressed()));
        connect(ui->lbleast_7, SIGNAL(Mouse_Pressed()), this, SLOT(East_7_Pressed()));
        connect(ui->lbleast_8, SIGNAL(Mouse_Pressed()), this, SLOT(East_8_Pressed()));
        connect(ui->lbleast_9, SIGNAL(Mouse_Pressed()), this, SLOT(East_9_Pressed()));
        connect(ui->lbleast_10, SIGNAL(Mouse_Pressed()), this, SLOT(East_10_Pressed()));
        connect(ui->lbleast_11, SIGNAL(Mouse_Pressed()), this, SLOT(East_11_Pressed()));
        connect(ui->lbleast_12, SIGNAL(Mouse_Pressed()), this, SLOT(East_12_Pressed()));
        connect(ui->lbleast_13, SIGNAL(Mouse_Pressed()), this, SLOT(East_13_Pressed()));
    }
    else if (p == 3)
    {
        qDebug()<< "west is dummy";
        connect(ui->lblwest_1, SIGNAL(Mouse_Pressed()), this, SLOT(West_1_Pressed()));
        connect(ui->lblwest_2, SIGNAL(Mouse_Pressed()), this, SLOT(West_2_Pressed()));
        connect(ui->lblwest_3, SIGNAL(Mouse_Pressed()), this, SLOT(West_3_Pressed()));
        connect(ui->lblwest_4, SIGNAL(Mouse_Pressed()), this, SLOT(West_4_Pressed()));
        connect(ui->lblwest_5, SIGNAL(Mouse_Pressed()), this, SLOT(West_5_Pressed()));
        connect(ui->lblwest_6, SIGNAL(Mouse_Pressed()), this, SLOT(West_6_Pressed()));
        connect(ui->lblwest_7, SIGNAL(Mouse_Pressed()), this, SLOT(West_7_Pressed()));
        connect(ui->lblwest_8, SIGNAL(Mouse_Pressed()), this, SLOT(West_8_Pressed()));
        connect(ui->lblwest_9, SIGNAL(Mouse_Pressed()), this, SLOT(West_9_Pressed()));
        connect(ui->lblwest_10, SIGNAL(Mouse_Pressed()), this, SLOT(West_10_Pressed()));
        connect(ui->lblwest_11, SIGNAL(Mouse_Pressed()), this, SLOT(West_11_Pressed()));
        connect(ui->lblwest_12, SIGNAL(Mouse_Pressed()), this, SLOT(West_12_Pressed()));
        connect(ui->lblwest_13, SIGNAL(Mouse_Pressed()), this, SLOT(West_13_Pressed()));
    }
}

void game::show_Dummy(Hand *h)
{
    if (dummy == 0)
    {
        changeNorthHand(h);
    }
    else if (dummy == 1)
    {
        changeEastHand(h);
    }
    else if (dummy == 3)
    {
        changeWestHand(h);
    }
}

void game::displaymove(Card c, int p)
{
    ui->lblTurn->setText("");

    if (p == 0)
    {
        changeNorthPicture(&c);
//        if (d_num == 1){ui->lblnorth_1->hide();}
//        else if (d_num == 2){ui->lblnorth_2->hide();}
//        else if (d_num == 3){ui->lblnorth_3->hide();}
//        else if (d_num == 4){ui->lblnorth_4->hide();}
//        else if (d_num == 5){ui->lblnorth_5->hide();}
//        else if (d_num == 6){ui->lblnorth_6->hide();}
//        else if (d_num == 7){ui->lblnorth_7->hide();}
//        else if (d_num == 8){ui->lblnorth_8->hide();}
//        else if (d_num == 9){ui->lblnorth_9->hide();}
//        else if (d_num == 10){ui->lblnorth_10->hide();}
//        else if (d_num == 11){ui->lblnorth_11->hide();}
//        else if (d_num == 12){ui->lblnorth_12->hide();}
//        else if (d_num == 13){ui->lblnorth_13->hide();}
        Disable();
    }
    else if (p == 1)
    {
        changeEastPicture(&c);
//        if (d_num == 1){ui->lbleast_1->hide();}
//        else if (d_num == 2){ui->lbleast_2->hide();}
//        else if (d_num == 3){ui->lbleast_3->hide();}
//        else if (d_num == 4){ui->lbleast_4->hide();}
//        else if (d_num == 5){ui->lbleast_5->hide();}
//        else if (d_num == 6){ui->lbleast_6->hide();}
//        else if (d_num == 7){ui->lbleast_7->hide();}
//        else if (d_num == 8){ui->lbleast_8->hide();}
//        else if (d_num == 9){ui->lbleast_9->hide();}
//        else if (d_num == 10){ui->lbleast_10->hide();}
//        else if (d_num == 11){ui->lbleast_11->hide();}
//        else if (d_num == 12){ui->lbleast_12->hide();}
//        else if (d_num == 13){ui->lbleast_13->hide();}
        Disable();
    }
    else if (p == 2)
    {
        changeSouthPicture(&c);
//        if (s_num == 1){ui->lblsouth_1->hide();}
//        else if (s_num == 2){ui->lblsouth_2->hide();}
//        else if (s_num == 3){ui->lblsouth_3->hide();}
//        else if (s_num == 4){ui->lblsouth_4->hide();}
//        else if (s_num == 5){ui->lblsouth_5->hide();}
//        else if (s_num == 6){ui->lblsouth_6->hide();}
//        else if (s_num == 7){ui->lblsouth_7->hide();}
//        else if (s_num == 8){ui->lblsouth_8->hide();}
//        else if (s_num == 9){ui->lblsouth_9->hide();}
//        else if (s_num == 10){ui->lblsouth_10->hide();}
//        else if (s_num == 11){ui->lblsouth_11->hide();}
//        else if (s_num == 12){ui->lblsouth_12->hide();}
//        else if (s_num == 13){ui->lblsouth_13->hide();}
//        Disable();
    }
    else if (p == 3)
    {
        changeWestPicture(&c);
//        if (d_num == 1){ui->lblwest_1->hide();}
//        else if (d_num == 2){ui->lblwest_2->hide();}
//        else if (d_num == 3){ui->lblwest_3->hide();}
//        else if (d_num == 4){ui->lblwest_4->hide();}
//        else if (d_num == 5){ui->lblwest_5->hide();}
//        else if (d_num == 6){ui->lblwest_6->hide();}
//        else if (d_num == 7){ui->lblwest_7->hide();}
//        else if (d_num == 8){ui->lblwest_8->hide();}
//        else if (d_num == 9){ui->lblwest_9->hide();}
//        else if (d_num == 10){ui->lblwest_10->hide();}
//        else if (d_num == 11){ui->lblwest_11->hide();}
//        else if (d_num == 12){ui->lblwest_12->hide();}
//        else if (d_num == 13){ui->lblwest_13->hide();}
        Disable();
    }
}

void game::displaybid(std::string s)
{

}

string game::getbid()
{
    qDebug()<<"bid again";
    b=new bid();
    b->show();
     QObject::connect(b,SIGNAL(bidmade(QStringList)),this,SLOT(changebid(QStringList)));
    //b->hide();


     return bm;
}

void game::displayIP(QString s)
{
    ui->lblIP->setText(s);
}

void game::South_1_Pressed()
{
    //ui->lblsouth_1->setGeometry(570, 340, 91, 121);
    qDebug() << "south 1 pressed";
    s_num = 1;
    CM->sendMove(*south->getCard(0));

}

void game::South_2_Pressed()
{
    qDebug() << "south 1 pressed";
    s_num = 2;
    CM->sendMove(*south->getCard(1));

}

void game::South_3_Pressed()
{
    qDebug() << "south 1 pressed";
    s_num = 3;
    CM->sendMove(*south->getCard(2));

}

void game::South_4_Pressed()
{
    qDebug() << "south 1 pressed";
    s_num = 4;
    CM->sendMove(*south->getCard(3));

}

void game::South_5_Pressed()
{
    qDebug() << "south 1 pressed";
    s_num = 5;
    CM->sendMove(*south->getCard(4));

}

void game::South_6_Pressed()
{    
    qDebug() << "south 1 pressed";
    s_num = 6;
    CM->sendMove(*south->getCard(5));

}

void game::South_7_Pressed()
{    
    s_num = 7;
    CM->sendMove(*south->getCard(6));

}

void game::South_8_Pressed()
{    
    qDebug() << "south 1 pressed";
    s_num = 8;
    CM->sendMove(*south->getCard(7));

}

void game::South_9_Pressed()
{   
    qDebug() << "south 1 pressed";
    s_num = 9;
    CM->sendMove(*south->getCard(8));

}

void game::South_10_Pressed()
{   
    s_num = 10;
    CM->sendMove(*south->getCard(9));

}

void game::South_11_Pressed()
{  
    s_num = 11;
    qDebug() << "south 1 pressed";
    CM->sendMove(*south->getCard(10));

}

void game::South_12_Pressed()
{
    s_num = 12;
    qDebug() << "south 1 pressed";
    CM->sendMove(*south->getCard(11));

}

void game::South_13_Pressed()
{   
    s_num = 13;
    qDebug() << "south 1 pressed";
    CM->sendMove(*south->getCard(12));

}

void game::North_1_Pressed()
{
    qDebug()<< "north1";
    d_num = 1;
    CM->sendMove(*dummy_hand.getCard(0));

}

void game::North_2_Pressed()
{
    qDebug()<< "north2";
    d_num = 2;
    CM->sendMove(*dummy_hand.getCard(1));

}

void game::North_3_Pressed()
{
    qDebug()<< "north3";
    d_num = 3;
    CM->sendMove(*dummy_hand.getCard(2));

}

void game::North_4_Pressed()
{
    d_num = 4;
    qDebug()<< "north4";
    CM->sendMove(*dummy_hand.getCard(3));

}

void game::North_5_Pressed()
{
    d_num = 5;
    qDebug()<< "north5";
    CM->sendMove(*dummy_hand.getCard(4));

}

void game::North_6_Pressed()
{
    d_num = 6;
    qDebug()<< "north6";
    CM->sendMove(*dummy_hand.getCard(5));

}

void game::North_7_Pressed()
{
    d_num = 7;
    qDebug()<< "north7";
    CM->sendMove(*dummy_hand.getCard(6));

}

void game::North_8_Pressed()
{
    d_num = 8;
    qDebug()<< "north8";
    CM->sendMove(*dummy_hand.getCard(7));

}

void game::North_9_Pressed()
{
    d_num = 9;
    qDebug()<< "north9";
    CM->sendMove(*dummy_hand.getCard(8));

}

void game::North_10_Pressed()
{
    d_num = 10;
    qDebug()<< "north10";
    CM->sendMove(*dummy_hand.getCard(9));

}

void game::North_11_Pressed()
{
    d_num = 11;
    qDebug()<< "north11";
    CM->sendMove(*dummy_hand.getCard(10));

}

void game::North_12_Pressed()
{
    d_num = 12;
    qDebug()<< "north12";
    CM->sendMove(*dummy_hand.getCard(11));

}

void game::North_13_Pressed()
{
    d_num = 13;
    qDebug()<< "north13";
    CM->sendMove(*dummy_hand.getCard(12));

}

void game::West_1_Pressed()
{
    d_num = 1;
    qDebug()<< "west1";
    CM->sendMove(*dummy_hand.getCard(0));

}

void game::West_2_Pressed()
{
    d_num = 2;
    qDebug()<< "west2";
    CM->sendMove(*dummy_hand.getCard(1));

}

void game::West_3_Pressed()
{
    d_num = 3;
    qDebug()<< "west3";
    CM->sendMove(*dummy_hand.getCard(2));

}

void game::West_4_Pressed()
{
    d_num = 4;
    qDebug()<< "west4";
    CM->sendMove(*dummy_hand.getCard(3));

}

void game::West_5_Pressed()
{
    d_num = 5;
    qDebug()<< "west5";
    CM->sendMove(*dummy_hand.getCard(4));

}

void game::West_6_Pressed()
{
    d_num = 6;
    qDebug()<< "west6";
    CM->sendMove(*dummy_hand.getCard(5));

}

void game::West_7_Pressed()
{
    d_num = 7;
    qDebug()<< "west7";
    CM->sendMove(*dummy_hand.getCard(6));

}

void game::West_8_Pressed()
{
    d_num = 8;
    qDebug()<< "west8";
    CM->sendMove(*dummy_hand.getCard(7));

}

void game::West_9_Pressed()
{
    d_num = 9;
    qDebug()<< "west9";
    CM->sendMove(*dummy_hand.getCard(8));

}

void game::West_10_Pressed()
{
    d_num = 10;
    qDebug()<< "west10";
    CM->sendMove(*dummy_hand.getCard(9));

}

void game::West_11_Pressed()
{
    d_num = 11;
    qDebug()<< "west11";
    CM->sendMove(*dummy_hand.getCard(10));

}

void game::West_12_Pressed()
{
    d_num = 12;
    qDebug()<< "west12";
    CM->sendMove(*dummy_hand.getCard(11));

}

void game::West_13_Pressed()
{
    d_num = 13;
    qDebug()<< "west13";
    CM->sendMove(*dummy_hand.getCard(12));

}

void game::East_1_Pressed()
{
    d_num = 1;
    qDebug()<< "east1";
    CM->sendMove(*dummy_hand.getCard(0));

}

void game::East_2_Pressed()
{
    d_num = 2;
    qDebug()<< "east2";
    CM->sendMove(*dummy_hand.getCard(1));

}

void game::East_3_Pressed()
{
    d_num = 3;
    qDebug()<< "east3";
    CM->sendMove(*dummy_hand.getCard(2));

}

void game::East_4_Pressed()
{
    d_num = 4;
    qDebug()<< "east4";
    CM->sendMove(*dummy_hand.getCard(3));

}

void game::East_5_Pressed()
{
    d_num = 5;
    qDebug()<< "east5";
    CM->sendMove(*dummy_hand.getCard(4));

}

void game::East_6_Pressed()
{
    d_num = 6;
    qDebug()<< "east6";
    CM->sendMove(*dummy_hand.getCard(5));

}

void game::East_7_Pressed()
{
    d_num = 7;
    qDebug()<< "east7";
    CM->sendMove(*dummy_hand.getCard(6));

}

void game::East_8_Pressed()
{
    d_num = 8;
    qDebug()<< "east8";
    CM->sendMove(*dummy_hand.getCard(7));

}

void game::East_9_Pressed()
{
    d_num = 9;
    qDebug()<< "east9";
    CM->sendMove(*dummy_hand.getCard(8));

}

void game::East_10_Pressed()
{
    d_num = 10;
    qDebug()<< "east10";
    CM->sendMove(*dummy_hand.getCard(9));

}

void game::East_11_Pressed()
{
    d_num = 11;
    qDebug()<< "east11";
    CM->sendMove(*dummy_hand.getCard(10));

}

void game::East_12_Pressed()
{
    d_num = 12;
    qDebug()<< "east12";
    CM->sendMove(*dummy_hand.getCard(11));

}

void game::East_13_Pressed()
{
    d_num = 13;
    qDebug()<< "east13";
    CM->sendMove(*dummy_hand.getCard(12));

}

void game::changebid(QStringList bidd)
{

    qDebug()<<"gui send bid";
//    if(GM!=NULL)
//    {
//        GM->sendBid(bidd);
//    }
//    else
//    {
       CM->sendBid(bidd);
//    }

//    s=true;

    //QString bidder=QString::fromStdString(bidd);
    //ui->label->setText(bidder);
}

void game::createclient(QStringList details)
{
qDebug()<<"Client";
QTime time = QTime::currentTime();
qsrand((uint)time.msec());
    qDebug() << details;
ui->lblIP->setText(details.at(1));
CM = new Client(QString(tr("Player %1").arg((uint)time.msec())), this, details.at(1), details.at(0), details.at(2));
CM->restoreConnection();
CM->requestJoin();
}

void game::createGM()
{
//        qDebug()<<"Game Master";
//    GM=new GameMaster(this);
//    GM->shuffle();
//    GM->startDealing();
}

void game::on_btnQuit_clicked()
{


    emit exit();
}

void game::on_pushButton_clicked()
{
    qDebug()<<"Button clicked to quit";
    CM->sendQuit();
    emit exit();
   //Enable(true);
   //Enable(false);
    /*Hand *h  = new Hand();

    Card c1('H', 1, 1, "0A");
    Card c2('H', 2, 1, "0K");
    Card c3('H', 3, 1, "0Q");
    Card c4('H', 4, 1, "0J");
    Card c5('H', 5, 1, "10");
    Card c6('H', 6, 1, "02");
    Card c7('H', 7, 1, "03");
    Card c8('H', 8, 1, "04");
    Card c9('H', 9, 1, "05");
    Card c10('H', 10, 1, "06");
    Card c11('H', 11, 1, "07");
    Card c12('H', 12, 1, "08");
    Card c13('H', 13, 1, "09");

    h->addCard(c1);
    h->addCard(c2);
    h->addCard(c3);
    h->addCard(c4);
    h->addCard(c5);
    h->addCard(c6);
    h->addCard(c7);
    h->addCard(c8);
    h->addCard(c9);
    h->addCard(c10);
    h->addCard(c11);
    h->addCard(c12);
    h->addCard(c13);

    changePicture(h);*/
}
void game::startDealing()
{
    qDebug()<<"here";
//    if(GM!=NULL)
//    {
//        qDebug()<<"1";
//        GM->ack_startDealing();
//    }
//    else
//    {
//        qDebug()<<"2";
//        CM->sendAcknowledge(1,0);
//    }

}
void game::startSendHand()
{
//    //qDebug()<<"here";
//    if(GM!=NULL)
//        GM->ack_sendHand();
//    else
//        CM->sendAcknowledge(1,0);
}
void game::startBidding()
{

//    if(GM!=NULL)
//        GM->ack_startBidding();
//    else
//        CM->sendAcknowledge(1,0);
}
void game::sendBid(QString bid)
{
    ui->lblBid->setText(bid);
}

void game::sendContract(QString contract)
{
    ui->lblContract->setText(contract);
}

void game::startPlaying()
{
   /* ui->lblsouth_1->setEnabled(true);
    ui->lblsouth_2->setEnabled(true);
    ui->lblsouth_3->setEnabled(true);
    ui->lblsouth_4->setEnabled(true);
    ui->lblsouth_5->setEnabled(true);
    ui->lblsouth_6->setEnabled(true);
    ui->lblsouth_7->setEnabled(true);
    ui->lblsouth_8->setEnabled(true);
    ui->lblsouth_9->setEnabled(true);
    ui->lblsouth_10->setEnabled(true);
    ui->lblsouth_11->setEnabled(true);
    ui->lblsouth_12->setEnabled(true);
    ui->lblsouth_13->setEnabled(true);*/
}

void game::getMove(bool d)
{
    if (d == false)
        ui->lblTurn->setText("Its Your Turn");
    else if (d = true)
        ui->lblTurn->setText("Dummy Turn");
    Enable(d);
}

void game::endTrick()
{
    ui->lblTableEast->setPixmap(QPixmap(""));
    ui->lblTableNorth->setPixmap(QPixmap(""));
    ui->lblTableSouth->setPixmap(QPixmap(""));
    ui->lblTableWest->setPixmap(QPixmap(""));
}

void game::newGame()
{
    ui->lblnorth_1->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_2->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_3->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_4->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_5->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_6->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_7->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_8->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_9->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_10->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_11->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_12->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblnorth_13->setPixmap(QPixmap("../epe pictures/rear.JPG"));

    ui->lblsouth_1->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_2->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_3->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_4->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_5->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_6->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_7->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_8->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_9->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_10->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_11->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_12->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblsouth_13->setPixmap(QPixmap("../epe pictures/rear.JPG"));

    ui->lblwest_1->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_2->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_3->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_4->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_5->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_6->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_7->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_8->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_9->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_10->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_11->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_12->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lblwest_13->setPixmap(QPixmap("../epe pictures/rear.JPG"));

    ui->lbleast_1->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_2->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_3->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_4->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_5->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_6->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_7->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_8->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_9->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_10->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_11->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_12->setPixmap(QPixmap("../epe pictures/rear.JPG"));
    ui->lbleast_13->setPixmap(QPixmap("../epe pictures/rear.JPG"));
}

void game::trickWinner(QString win)
{
    ui->lblTrickWinner->setText("");
    ui->lblTrickWinner->setText(win);
}

void game::gameWinner(QString win)
{
    ui->lblGameWinner->setText("");
    ui->lblGameWinner->setText(win);
}

void game::on_btnCloseScore_clicked()
{
    ui->frameScore->hide();
}

void game::on_btnScore_clicked()
{
    ui->frameScore->show();
}
